package org.springframework.archiesean;

/**
 * bean
 *
 * @author ArchieSean
 * @create 2023/7/27
 */
public class MyBean {
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 描述
	 */
	private String desc;

	public MyBean(String name, String desc) {
		this.name = name;
		this.desc = desc;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Override
	public String toString() {
		return "MyBean{" +
				"name='" + name + '\'' +
				", desc='" + desc + '\'' +
				'}';
	}

	public String print() {
		return toString();
	}
}
